gtk-demo: Support keywords for search
authorMatthias Clasen <mclasen@redhat.com>
Sun, 13 Sep 2020 15:37:23 +0000 (11:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 13 Sep 2020 19:00:14 +0000 (15:00 -0400)
commit691261c71a7b61c1eaafbac18cf724ef91299c5d
tree459dbc7db9e70a72b36f365b96a100f1a56ea096
parentfe6f70efe1e5681bdcfc63628b44a5c8a2bd1e78
gtk-demo: Support keywords for search

Filter the sidebar on keywords that can be provided
by the demos. We extract keywords from the doc comment
at the top of each demo source by looking for words that
look like class names. We also allow to specify keywords
explicitly.
demos/gtk-demo/geninclude.py
demos/gtk-demo/main.c